<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
    <title>书籍管理</title>
    <meta name="decorator" content="default"/>
</head>
<body>
<ul class="nav nav-tabs">
    <li>
        <a href="${ctx}/sys/db/toBackup">备份数据库</a>
    </li>
    <li class="active">
        <a href="${ctx}/sys/db/toRestore">还原数据库</a>
    </li>
</ul>
    <form:form id="uploadDbForm" action="${ctx}/sys/db/restore" method="post" class="form-horizontal" enctype="multipart/form-data">
        <div style="position: fixed;background-color: white; width: 100%" class="control-group">
            <label class="control-label">选择数据文件：</label>

            <div class="controls">
                <input name="mfile" type="file"/>
            </div>
            <input class="btn btn-primary" type="submit" value="还原"/>
        </div>
    </form:form>
</body>
</html>